import MarkdownParseLine from "./markdown_parse_line";
import MarkdownRender from "./render";

export default function md2html(md) {
  const nodeResult = new MarkdownParseLine().init(md);
  const html = new MarkdownRender().render(nodeResult);
  console.log("nodeResult", nodeResult);
  return html;
}
